package kr.hyosang.android.penfo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class LauncherActivity extends Activity
{
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.launcher);
        
        SharedObject shared = SharedObject.getInstance();
        shared.init(getApplicationContext());
         
        //로그인 했던 상태
        Intent i = new Intent(LauncherActivity.this, MainActivity.class);
        startActivity(i);
        finish();
    }

    
    /* Dead code
    @Override
    public void onActivityResult(int requestCode, int resultCode, Intent intent) {
        if(requestCode == Definition.ACTIVITY_LOGIN) {
            Intent i = new Intent(LauncherActivity.this, MainActivity.class);
            startActivity(i);
            finish();
        }
    }
    */
}
